home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
PRG
/
Mac_F2C_1.3.2.sit
/
Mac F2C 1.3.2
/
F2C for MPW
/
F2C.Help
< prev
next >
Wrap
Text File
|
1995-11-18
|
5KB
|
80 lines
F2C # F2C FORTRAN to C translator for MPW.
F2C [-q] [[f2c_optionノ] filenameノ]
-q # quit Mac F2C after translating the file(s)
-C # Compile code to check that subscripts are within
# declared array bounds.
-I2 # Render INTEGER and LOGICAL as short, INTEGER*4 as long
# int. Assume the default libF77 and libI77: allow only
# INTEGER*4 (and no LOGICAL) variables in INQUIREs.
# Option '-I4' confirms the default rendering of INTEGER
# as long int.
-onetrip # Compile DO loops that are performed at least once if
# reached. (FORTRAN 77 DO loops are not performed at all
# if the upper limit is smaller than the lower limit.)
-U # Honor the case of variable and external names. FORTRAN
# keywords must be in lower case.
-u # Make the default type of a variable `undefined' rather
# than using the default FORTRAN rules.
-w # Suppress all warning messages, or, if the option is
# '-w66', just FORTRAN 66 compatibility warnings.
-A # Produce ANSI C. Default is old-style C.
-a # Make local variables automatic rather than static
# unless they appear in a DATA, EQUIVALENCE, NAMELIST, or
# SAVE statement.
-C++ # Output C++ code.
-c # Include original FORTRAN source as comments.
-E # Declare uninitialized COMMON to be Extern (overridably
# defined in f2c.h as extern).
-ec # Place uninitialized COMMON blocks in separate files:
# COMMON /ABC/ appears in file abc_com.c.
-ext # Complain about f77(1) extensions.
-f # Assume free-format input: accept text after column 72
# and do not pad fixed-format lines shorter than 72 char-
# acters with blanks.
-72 # Treat text appearing after column 72 as an error.
-g # Include original FORTRAN line numbers in #line lines.
-h # Emulate FORTRAN 66's treatment of Hollerith: try to
# align character strings on word (or, if the option is
# '-hd', on double-word) boundaries.
-i2 # Similar to -I2, but assume a modified libF77 and libI77
# (compiled with -Df2c_i2), so INTEGER and LOGICAL vari-
# ables may be assigned by INQUIRE and array lengths are
# stored in short ints.
-kr # Use temporary values to enforce FORTRAN expression
# evaluation where K&R (first edition) parenthesization
# rules allow rearrangement. If the option is '-krd',
# use double precision temporaries even for single-
# precision operands.
-P # Write a file.P of ANSI (or C++) prototypes for defini-
# tions in each input file.f or file.F. When reading
# FORTRAN from standard input, write prototypes at the
# beginning of standard output. Option -Ps implies -P
# and gives exit status 4 if rerunning f2c may change
# prototypes or declarations.
-p # Supply preprocessor definitions to make common-block
# members look like local variables.
-R # Do not promote REAL functions and operations to DOUBLE
# PRECISION. Option '-!R' confirms the default, which
# imitates f77.
-r # Cast values of REAL functions (including intrinsics) to
# REAL.
-r8 # Promote REAL to DOUBLE PRECISION, COMPLEX to DOUBLE
# COMPLEX.
-s # Preserve multidimensional subscripts. Suppressed by
# option '-C'.
-w8 # Suppress warnings when COMMON or EQUIVALENCE forces
# odd-word alignment of doubles.
-Wn # Assume n characters/word (default 4) when initializing
# numeric variables with character data.
-z # Do not implicitly recognize DOUBLE COMPLEX.
-!bs # Do not recognize backslash escapes (¥", ¥', ¥0, ¥¥, ¥b,
# ¥f, ¥n, ¥r, ¥t, ¥v) in character strings.
-!c # Inhibit C output, but produce -P output.
-!I # Reject include statements.
-!i8 # Disallow INTEGER*8.
-!it # Don't infer types of untyped EXTERNAL procedures from
# use as parameters to previously defined or prototyped
# procedures.
-!P # Do not attempt to infer ANSI or C++ prototypes from
# usage.
-